package org.mybatis.saldi;

import it.widgets.client.beans.Saldo;

import java.io.Serializable;

import org.mybatis.logic.BusinessLogic;
import org.mybatis.mappers.SaldoMapper;

public class BusinessLogicSaldo extends BusinessLogic<SaldoMapper> implements SaldoMapper, Serializable {
	
	public BusinessLogicSaldo(short accessType) throws Exception {
		super(accessType);
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 9182113484681263766L;

	public Saldo calcolaSaldo() {
		//Saldo s = mapper.calcolaSaldo();
		Saldo s = bSql.getMapper().calcolaSaldo();
		return s;
	}
	
//	public static void main(String[] args){
//		System.out.println("start main");
//		BusinessLogicSaldo BusinessLogic = new BusinessLogicSaldo();
//		BusinessLogic.calcolaSaldo();
//		System.out.println("end main");
//	}
}
